Skip to content

Comments

fix(config): use .backlogrc as rc9 config name to prevent EISDIR error#126

Merged
lollipop-onl merged 1 commit intomainfrom
claude/compatible-node20
Feb 19, 2026
Merged

fix(config): use .backlogrc as rc9 config name to prevent EISDIR error#126
lollipop-onl merged 1 commit intomainfrom
claude/compatible-node20

Conversation

@lollipop-onl
Copy link
Member

@lollipop-onl lollipop-onl commented Feb 19, 2026

Summary

  • rc9readUser({ name: "backlog" })~/backlog を読みに行くため、~/backlog ディレクトリが存在する環境で EISDIR: illegal operation on a directory, read エラーが発生していた
  • APP_NAME"backlog" から ".backlogrc" に変更し、~/.backlogrc を読むように修正
  • テストのアサーションも新しい設定名に合わせて更新

Test plan

  • @repo/config のテストが全パス(46/46)
  • 全パッケージのテストが全パス(560/560)
  • ビルドが成功
  • XDG_CONFIG_HOME 未設定の環境で ~/backlog ディレクトリがあっても EISDIR エラーが出ないことを手動確認

🤖 Generated with Claude Code

rc9's readUser({ name: "backlog" }) resolves to ~/backlog, which crashes
with EISDIR when a ~/backlog directory exists. Change APP_NAME to
".backlogrc" so rc9 reads ~/.backlogrc instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 19, 2026

Open in StackBlitz

npm i https://pkg.pr.new/simochee/backlog-cli/@simochee/backlog-cli@126

commit: b51b28c

@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Files with missing lines Coverage Δ
packages/config/src/config.ts 100.00% <100.00%> (ø)

@lollipop-onl lollipop-onl merged commit afb0e44 into main Feb 19, 2026
12 checks passed
@lollipop-onl lollipop-onl deleted the claude/compatible-node20 branch February 19, 2026 16:03
@codecov
Copy link

codecov bot commented Feb 19, 2026

Bundle Report

Bundle size has no change ✅

This was referenced Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant